﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace PubSubGeneric.WCFContracts
{
    [ServiceContract]
    public interface IWCFSubscriber
    {
        [OperationContract(IsOneWay = true)]
        void OnTopicPublished(string topicName, string args, string typeName);

        CommunicationState ChannelState { get; }
    }
}
